﻿using System;
using System.Collections.Generic;
using System.Text;

namespace XDQ.VAT
{
    public class SelectListItemDto
    {

        //
        // 摘要:
        //     Gets or sets a value that indicates whether this Microsoft.AspNetCore.Mvc.Rendering.SelectListItem
        //     is disabled. This property is typically rendered as a disabled="disabled" attribute
        //     in the HTML <option> element.
        public bool Disabled { get; set; }
        //
        // 摘要:
        //     Represents the optgroup HTML element this item is wrapped into. In a select list,
        //     multiple groups with the same name are supported. They are compared with reference
        //     equality.
        public SelectListGroup Group { get; set; }
        //
        // 摘要:
        //     Gets or sets a value that indicates whether this Microsoft.AspNetCore.Mvc.Rendering.SelectListItem
        //     is selected. This property is typically rendered as a selected="selected" attribute
        //     in the HTML <option> element.
        public bool Selected { get; set; }
        //
        // 摘要:
        //     Gets or sets a value that indicates the display text of this Microsoft.AspNetCore.Mvc.Rendering.SelectListItem.
        //     This property is typically rendered as the inner HTML in the HTML <option> element.
        public string Text { get; set; }
        //
        // 摘要:
        //     Gets or sets a value that indicates the value of this Microsoft.AspNetCore.Mvc.Rendering.SelectListItem.
        //     This property is typically rendered as a value="..." attribute in the HTML <option>
        //     element.
        public string Value { get; set; }

        public class SelectListGroup
        {

            //
            // 摘要:
            //     Gets or sets a value that indicates whether this Microsoft.AspNetCore.Mvc.Rendering.SelectListGroup
            //     is disabled.
            public bool Disabled { get; set; }
            //
            // 摘要:
            //     Represents the value of the optgroup's label.
            public string Name { get; set; }
        }
    }

}
